package ebuy.com.server;

import ebuy.com.pojo.Commodity;
import ebuy.com.vo.Commodityvo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Commodityserver {
    List<Commodity> Checkpopularproducts(Integer id);
    Commodity Queryaccordingtotheidoftheproduct(Integer id);
    List<Commodity> Checkshoppingcart(String loginName);
    Integer   Checkthebalanceoftheshoppingcart( String loginName);
    List<Commodityvo> Paidmerchandisedisplay(String userName);
    String Queryaccordingtoshoppingcartid(Integer id);
    Integer Checkthepriceoftheproduct(Integer id, String loginName);

}
